package com.github.skystardust.lotteryex.gui.animation.update;

import com.github.skystardust.lotteryex.gui.inventory.LotteryInventory;
import org.bukkit.configuration.serialization.ConfigurationSerializable;
import org.bukkit.inventory.ItemStack;

import java.util.Map;

public abstract class AbstractAnimationRunnable implements Runnable,ConfigurationSerializable {
    private LotteryInventory lotteryInventory;
    private Map<Integer, ItemStack> displayItemMap;

    public AbstractAnimationRunnable(LotteryInventory lotteryInventory, Map<Integer, ItemStack> displayItemMap) {
        this.lotteryInventory = lotteryInventory;
        this.displayItemMap = displayItemMap;
    }

    public AbstractAnimationRunnable(Map<String,Object> stringObjectMap){

    }

    public LotteryInventory getLotteryInventory() {
        return lotteryInventory;
    }

    public void setLotteryInventory(LotteryInventory lotteryInventory) {
        this.lotteryInventory = lotteryInventory;
    }

    public Map<Integer, ItemStack> getDisplayItemMap() {
        return displayItemMap;
    }

    public void setDisplayItemMap(Map<Integer, ItemStack> displayItemMap) {
        this.displayItemMap = displayItemMap;
    }
}
